File: xil_interface_lib.h

    1   /* Copyright 2006-2011 The MathWorks, Inc. */
    2   
    3   /* 
    4    * File: xil_interface_lib.h
    5    *
    6    * SIL/PIL support library
    7    */
    8   
    9   #ifndef __XIL_INTERFACE_LIB_H__
   10   #define __XIL_INTERFACE_LIB_H__
   11   
   12   /* define some error codes */
   13   typedef enum {XIL_INTERFACE_LIB_SUCCESS=0, 
   14                 XIL_INTERFACE_LIB_ERROR,
   15                 XIL_INTERFACE_LIB_TERMINATE} XIL_INTERFACE_LIB_ERROR_CODE;
   16   
   17   /* xil interface functions to be called from main */
   18   extern XIL_INTERFACE_LIB_ERROR_CODE xilInit(const int argc, 
   19                                               void *argv[]);
   20   extern XIL_INTERFACE_LIB_ERROR_CODE xilRun(void);
   21   
   22   /* terminate XIL communications */
   23   extern XIL_INTERFACE_LIB_ERROR_CODE xilTerminateComms(void);
   24   
   25   #endif
   26